c = 0
for i in range(1,10):
    c = i + c
    print(c)